<template name="el">
  <block v-if="n5.name == 'img'">
    <image v-if="(opts[1]&&!ctrl[i])||ctrl[i]<0" class="_img" :style="n5.attrs.style" :src="ctrl[i]<0?opts[2]:opts[1]" mode="widthFix"></image>
    <image :id="n5.attrs.id" :class="'_img ' + n5.attrs.class" :style="(ctrl[i] == -1 ? 'display:none' : '') + 'width:' + ctrl[i] || 1 + 'pxheight:1px' + n5.attrs.style" :src="n5.attrs.src" :mode="n5.h ? '' : 'widthFix'" :lazy-load="opts[0]" :webp="n5.webp" :show-menu-by-longpress="opts[3] && !n5.attrs.ignore" :data-i="i1+'_'+i2+'_'+i3+'_'+i4+'_'+i5" @load="imgLoad" @error="mediaError" @tap.stop="imgTap" @longpress="noop"></image>
  </block><text v-else-if="n5.type == 'text'" :user-select="n5.us" decode>{{n5.text}}</text><text v-else-if="n5.name == 'br'">\n</text>
  <view v-else-if="n5.name == 'a'" :id="n5.attrs.id" :class="(n5.attrs.href ? '_a ' : '') + '' + n5.attrs.class" hover-class="_hover" :style="'display:inline' + n5.attrs.style" :data-i="i1+'_'+i2+'_'+i3+'_'+i4+'_'+i5" @tap.stop="linkTap">
    <node :childs="n5.children" :opts="opts" style="display:inherit"></node>
  </view><video v-else-if="n5.name == 'video'" :id="n5.attrs.id" :class="n5.attrs.class" :style="n5.attrs.style" :autoplay="n5.attrs.autoplay" :controls="n5.attrs.controls" :loop="n5.attrs.loop" :muted="n5.attrs.muted" :poster="n5.attrs.poster" :src="n5.src[ctrl[i] || 0]" :data-i="i1+'_'+i2+'_'+i3+'_'+i4+'_'+i5" @play="play" @error="mediaError"></video><audio v-else-if="n5.name == 'audio'" :id="n5.attrs.id" :class="n5.attrs.class" :style="n5.attrs.style" :author="n5.attrs.author" :controls="n5.attrs.controls" :loop="n5.attrs.loop" :name="n5.attrs.name" :poster="n5.attrs.poster" :src="n5.src[ctrl[i] || 0]" :data-i="i1+'_'+i2+'_'+i3+'_'+i4+'_'+i5" @play="play" @error="mediaError"></audio>
  <rich-text v-else :id="n5.attrs.id" :style="n5.f" :nodes="[n]"></rich-text>
</template>